package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ChannelDTO;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.pojos.AdChannel;

public interface ChannelService extends IService<AdChannel> {
/**
 * @description:分页查询
 * @author: WangYue
 * @param:
 * @return: 
 **/
    PageResponseResult findPageQuery(ChannelDTO channelDTO);

    /**
     * 新增
     * @param channel
     * @return
     */
    public ResponseResult insert(AdChannel channel);

    /**
     * 修改
     * @param adChannel
     * @return
     */
    public ResponseResult update(AdChannel adChannel);

    public ResponseResult deleteById(Integer id);


}
